#!/usr/bin/env python3

def hello(n, s):
    """
        函数功能简单说明
        函数参数的说明
        函数返回值的说明
        函数使用范例
        函数使用注意事项(bug)
    """

    s += """
            <!DOCTYPE html>
            <html lang="en">
            <head>
                <meta charset="UTF-8">
                <title></title>
            </head>
            <body>

            </body>
            </html>
         """

    return str(n) + "hello " + s

print(hello(1, "hello"))

s = "int = %d %x %X %o, float = %f, char = %c, str = %s %%"  % (100,
                254, 254, 100, 3456.67, 'A', "hello")
print(s)

s = "num = %#x, oct = %#o" % (0o254, 100)
print(s)

s = "num = A%10dA, num2 = A%010dA f = A%-20.2fA" % (100, 100, 4567.878)
print(s)

